﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace OneMile.BLL
{
    public sealed class BLLFactory
    {
        private static BLLFactory instance;
        public static BLLFactory getInstance()
        {
           if (instance == null)
            {
              instance = new BLLFactory();
            }
            return instance;
        }

        public BLLULogin CreateULoginBLL()
        {
            return new BLLULogin();
        }

        public BLLUFavorites CreateUFavoritesBLL()
        {
            return new BLLUFavorites();
        }
        public BLLUCommodity CreateUCommodityBLL()
        {
            return new BLLUCommodity();
        }
        public BLLUOrder CreateUOrderBLL()
        {
            return new BLLUOrder();
        }
        public BLLUPromotions CreateUPromotionsBLL()
        {
            return new BLLUPromotions();
        }
        public BLLUCoupon CreateUCouponBLL()
        {
            return new BLLUCoupon();
        }
        public BLLUShops CreateUShopsBLL()
        {
            return new BLLUShops();
        }

        public BLLUUserAddress CreateUUserAddressBLL()
        {
            return new BLLUUserAddress();
        }
    }
}
